<%@ page language="java" pageEncoding="UTF-8"%><!DOCTYPE html>
<html><%@ taglib uri="http://java.sun.com/jsp/jstl/core"
	prefix="c"%>
<head>
<title></title>
<jsp:include page="/admin/head.jsp" />
<script src="assets/plugins/bootstrap-table/bootstrap-table.min.js" type="text/javascript" charset="utf-8"></script>
<script src="assets/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js" type="text/javascript" charset="utf-8"></script>

</head>
<body>
	<jsp:include page="/admin/header.jsp" />
	<jsp:include page="/admin/left-menu.jsp"><jsp:param
			value="1" name="index" /></jsp:include>
	<jsp:include page="/admin/footer.jsp" />


	<!--中间-->
	<section>
		<nav aria-label="breadcrumb">
			<ol class="breadcrumb">
				<li class="breadcrumb-item">管理首页</li>
				<li class="breadcrumb-item">产品中心</li>
				<li class="breadcrumb-item active">订单管理</li>
			</ol>
		</nav>

		<form name="searchForm" class="form-inline" action="admin/ordelist.let" method="get">
			<div class="form-group mx-sm-1 mb-2">
				<label class="sr-only">状态：</label> <select name="orderStatus"
					class="form-control">
					<option value="">全部</option>

				</select>

			</div>
			
			<button type="submit" class="btn btn-primary mb-2">
				<i class="fa fa-search"></i>
			</button>
			
			
		</form>
		<div class="ml-2 mr-2">
			<table id="datagrid" class="table table-striped table-bordered table-hover">
				<thead>
					<tr>
						<th data-width="60" data-align="center" data-formatter="indexFormatter">#</th>
						<th  data-field="orderId">订单编号</th>
						<th data-width="250" data-align="center" data-field="productName">产品名称</th>
						<th  data-field="orderMoney">总价</th>
						<th data-width="100" data-align="center" data-field="orderStatus" data-formatter="statusFormatter">状态</th>
						<th  data-width="60" data-align="center" data-field="orderDetailNum">数量</th>
						<th  data-width="100" data-align="center" data-field="orderAddressName">收货人</th>
						<th  data-width="150" data-field="orderAddressTel">收货人电话</th>
						<th data-width="250" data-field="orderAddressInfo">详细地址</th>
						<th  data-field="orderTime" data-align="center">订单时间</th>
						<th data-field="orderDetailId" data-class="p-1" data-width="100"
							data-align="center" data-formatter="optionFormatter" >操作</th>
					</tr>
				</thead>
			</table>
		</div>
	</section>

 	<script type="text/javascript" src="admin/product/order.js"></script>
</body>
</html>
